Initiation of mechanical ventilation